import 'package:flutter/material.dart';

// import 'package:myapp/01_basic/01_hello.dart';
// import 'package:myapp/01_basic/03_Container.dart';
// import 'package:myapp/layout/01_container.dart';
// import '01_basic/04_Fitbox.dart';
// import 'package:myapp/layout/02_Column_Row.dart';

// import 'layout/03_Flex_Expanded.dart';
// import 'layout/04_Wrap.dart'; 
// import 'layout/05_Stack.dart';
// import 'layout/06_Card.dart';
// import '03_button/01_Button.dart';
// import '04_image/01_Image.dart';
// import '05_list/01_singleChildScrollView.dart';
// import '05_list/02_ListView.dart';
// import '05_list/03_GridView.dart';08_state/05_provider
// import '05_list/04_GridView.dart';
// import '05_list/05_GridView_builder.dart';
// import '05_list/06_PageView.dart';
// import '05_list/07_TabarView.dart';
// import '06_others/01_Cupertino.dart';

// import '07_third_part/01_swiper.dart';


// import '08_state/01_StatefulWidget.dart';
// import '08_state/02_DataTable.dart';
// import '08_state/03_inheritedWidget.dart';
// import '08_state/04_lifecycle.dart';
// import '08_state/05_provider.dart';

// import '09_navigation/01_anonymity.dart';
// import '09_navigation/02_namedrouter.dart';
// import '09_navigation/03_bottomNavigationBar.dart';
import '09_navigation/04_tabbar.dart';



void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),

      // routes: {
      //   'home' : (context) => Home(),
      //   'product' : (context) => Product(),
      //   'productdetail' : (context) => ProductDetail(),
      // },
      // initialRoute: 'home',
      // onUnknownRoute: (settings) => MaterialPageRoute(builder: (context) => UnknowPage()),

      home: Home(),
    );
  }
}


// class MyApp extends StatefulWidget {
//   MyApp({Key? key}) : super(key: key);

//   @override
//   _MyHomePageState createState() => _MyHomePageState();
// }


// class _MyHomePageState extends State<MyApp> {
//   @override
//   Widget build(BuildContext context) {
//      return MaterialApp(
//       title: 'Flutter Demo',
//       theme: ThemeData(
//         // This is the theme of your application.
//         //
//         // Try running your application with "flutter run". You'll see the
//         // application has a blue toolbar. Then, without quitting the app, try
//         // changing the primarySwatch below to Colors.green and then invoke
//         // "hot reload" (press "r" in the console where you ran "flutter run",
//         // or simply save your changes to "hot reload" in a Flutter IDE).
//         // Notice that the counter didn't reset back to zero; the application
//         // is not restarted.
//         primarySwatch: Colors.blue,
//       ),
//       home: Home(),
//     );
//   }
// }

 